﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PayloadTracker.APRS
{

    /// <summary>
    /// Base interface for all APRSProviders to use as setup dialogs in the new flight menu.
    /// </summary>
#if DEBUG
    public partial class IAPRSProviderSetup : UserControl
#else
    public abstract partial class IAPRSProviderSetup : UserControl
#endif
    {
#if DEBUG
        public virtual void Reset()
        {
            throw new NotImplementedException();
        }
#else
        public abstract void Reset();
#endif

#if DEBUG
        public virtual bool ValidateInput()
        {
            throw new NotImplementedException();
        }
#else
        public abstract bool ValidateInput();
#endif

#if DEBUG
        public virtual IAPRSProvider CreateInstance()
        {
            throw new NotImplementedException();
        }
        
#else
        public abstract IAPRSProvider CreateInstance(); 
#endif


        public IAPRSProviderSetup()
        {
            InitializeComponent();
        }

    }
}
